home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ Explorer Options 6.xpl < prev    next >
Text File  |  2002-11-04  |  2KB  |  49 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="2"
  3. "COUNT"="1"
  4. "UIPATH 1"="Appearance\Explorer\Settings"
  5. "UIPATH 2"="Appearance\Files&Folders\Folders"
  6. "NAME"="Folder Setting Cache Size"
  7. "OSVERSION"="0000011"
  8. "VERSION"="1.00"
  9. "LANGUAGE"="VBScript"
  10. "TEXT 1"="Cache Size"
  11. "DESCRIPTION 1"="When you customize a folder in Windows XP, these settings will be saved into the registry, not somewhere in the folder itself."
  12. "DESCRIPTION 2"="This "cache" inside the registry is normally limited to 400 folders. This means, if you customize the 400 and one folder, the settings of the first folder you have customized will be lost (newest entries overwrite the oldest)."
  13. "DESCRIPTION 3"="With this setting, you can increase this cache size."
  14. "DESCRIPTION 4"="To have the default values behavior of Windows (cache size about 400 folders), clear the field."
  15. "AUTHOR"="Xteq Systems"
  16. "CONTACTURL"="http://www.xteq.com"
  17. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  18. "COMMENT 1"="Found at WinTweaks: http://www.winguides.com/registry/display.php/1206/"
  19.  
  20.  
  21.  
  22. sV1="HKCU\Software\Microsoft\Windows\Shell\BagMRU Size" 'dw
  23. sV2="HKCU\Software\Microsoft\Windows\ShellNoRoam\BagMRU Size" 'dw
  24.  
  25. Sub Plugin_Initialize 
  26.  s=RegReadValue(sv1)
  27.  SetUIElement 1,s
  28. End Sub
  29.  
  30. Sub Plugin_CheckData(ElementIndex)
  31. End Sub
  32.  
  33. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  34.  i=GetUIElement(1)
  35.  if len(i)>0 then 
  36.     Call RegWriteValue(sv1,i,2)
  37.     Call RegWriteValue(sv2,i,2)
  38.  else
  39.     if RegValueExists(sv1) then RegDeleteValue(sv1)
  40.     if RegValueExists(sv2) then RegDeleteValue(sv2)
  41.  end if
  42. End Sub
  43.  
  44. Sub Plugin_Terminate 
  45. End Sub
  46.  
  47.  
  48.  
  49.